POV-Ray : Newsgroups : povray.newusers : SCALING HEIGHT FIELD, GETTING RAY INTERSECTIONS OUT OF POV-RAY : SCALING HEIGHT FIELD, GETTING RAY INTERSECTIONS OUT OF POV-RAY Server Time
30 Jul 2024 20:22:22 EDT (-0400)
  SCALING HEIGHT FIELD, GETTING RAY INTERSECTIONS OUT OF POV-RAY  
From: saleem
Date: 3 Sep 2003 15:35:03
Message: <web.3f5641e0fd79e95a78c628a10@news.povray.org>
i have been using the pov-ray for modeling remote sensing images, So I have
some questions that i could not find an answer in pov-ray help:

    1.I'm using a PNG file as a height field (DIGITAL TERIAN MODEL - DTM),
this height field is imported to pov-ray to be in size of 1,1,1, I would
like to translate and         rescale the height field back to it's real
size and location. Are the pixels centers placed on the corners or are they
shifted 0.5 pixel inside form each direction ? (Should I use a factor for
translation of :  dx = x0 - 0.5*grid_dx ?). is the image map (png file)
scaling concept similar also to height field scaling and translation
concept?

 2. I'm defining the camera according to right_length vector, I know that
the pixel size in the camera plan is X (1.5 micro m), how to define the
length of right vector: X * columns  or X * (columns -1), generally speaking
how pov ray calculate the ray vector for intersection when using the trace
function ?

 3. How can I get out of pov ray X,Y,Z of the intersections ? I have added
also building to scene (group of poly)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.